//index.js
//获取应用实例
const app = getApp()

Page({
  data: {
    
  },
  onLoad: function () {
    wx.setNavigationBarTitle({
      title: '首页',
    })
  },
  addMilkEvent:function(){
    wx.navigateTo({
      url: 'addMilk',
    })
  },
  addStoolEvent:function(){
    wx.navigateTo({
      url: 'addStool',
    })
  },
  addSleepEvent:function(){
    wx.navigateTo({
      url: 'addSleep',
    })
  },
  addlacticEvent:function(){
    wx.navigateTo({
      url: 'addlactic',
    })
  },
  addRemarkEvent:function(){
    wx.navigateTo({
      url: 'addRemark',
    })
  },
  addDisinfectEvent:function(){
    wx.navigateTo({
      url: 'addDisinfect',
    })
  },
  addTemperatureEvent:function(){
    wx.navigateTo({
      url: 'addTemperature',
    })
  },
  addUncomfortableEvent:function(){
    wx.navigateTo({
      url: 'addUncomfortable',
    })
  },
  addGrowthcurveEvent:function(){
    wx.navigateTo({
      url: 'addGrowthcurve',
    })
  },
  addDrugEvent:function(){
    wx.navigateTo({
      url: 'addDrug',
    })
  }
})
